<?php
include ('header.php');

?>
<div style="border: 1px solid rgb(218, 225, 232); padding: 8px; margin: 10px; background: none repeat scroll 0% 0% rgb(255, 255, 255);">
<?php
$text = new bbcode($_POST['text']);
echo $text->get_html();
?>
</div>
<center><a href='' onclick="window.close()"><big><strong>ЗАКРЫТЬ</strong></big></a></center>
<?php
include ('footer.php');
?>